package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjWorkHoubanYunNetwork;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author WEN
 * @Date 2024/9/28 0028
 **/
@Repository
public interface ZjWorkHoubanYunNetworkMapper extends BaseMapper<ZjWorkHoubanYunNetwork> {

    /**
     * 根据伙伴云负责服务商ID查询是否允许报单
     * @param custAccId 商家ID
     * @param houbanYunNetworkItemId 伙伴云负责服务商ID
     * @return
     */
    Integer existByHoubanYunNetworkItemId(@Param("custAccId") Long custAccId, @Param("houbanYunNetworkItemId") String houbanYunNetworkItemId);


}
